#pragma once
#include <string>
#include <map>

// read from properties file like java properties file
// value will be mapping as key=value
// to get value of key: call getProperty(key);

class ConfigReader
{
private:
	std::map < std::string, std::string> properties; // properties mapping
public:
	ConfigReader();
	// read configuration file, return true if read successfull otherwise return false
	bool load(std::string filePath); 

	std::string getProperty(std::string propName); // get property by name

	~ConfigReader();
};

